package com.firexxx.study.serialize;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.util.List;

/**
 * TODO
 *
 * @author fireXXX
 * @date 2020/12/11 0:03
 **/
@Data
@Accessors(chain = true)
@NoArgsConstructor
@AllArgsConstructor
public class TestModel {

    private String name;
    private List<String> roles;
    private TestModel1 testModel1;

    public void fun(String name) {
        this.name = name;
    }
}